import { instance } from '@/configs/request/index'
import type { QueryDTO } from '@/assets/js/utils/entity/QueryDTO'

export const listRole = (params: QueryDTO) => {
    return instance.post('/lms-portal-service/role/listRole', params)
}

export const roleList = () => {
    return instance.get('/lms-portal-service/role/getAll')
}